/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.manager;

import com.xy.biz.fd.domain.bo.DocumentCodeRuleBO;
import com.xy.biz.fd.domain.resp.GetDocumentCodeRuleResponse1;

/**
 * 
 * 
 * @author zsp
 * @date 2021-4-29
 */
public interface DocumentCodeRuleManager {
	
	/**
	 * 保存
	 *
	 * @param documentCodeRuleBO
	 */
	DocumentCodeRuleBO saveDocumentCodeRule(DocumentCodeRuleBO documentCodeRuleBO);
	
	/**
	 * 更新
	 *
	 * @param oldDocumentCodeRuleBO
	 * @param newDocumentCodeRuleBO
	 */
	int updateDocumentCodeRule(DocumentCodeRuleBO oldDocumentCodeRuleBO, DocumentCodeRuleBO newDocumentCodeRuleBO);
	
	/**
	 * 删除
	 *
	 * @param documentCodeRuleId
	 */
	int deleteDocumentCodeRule(Long documentCodeRuleId);
	
	/**
	 * 查找一个
	 *
	 * @param name
	 * @return 
	 */
	DocumentCodeRuleBO getDocumentCodeRule(String name);
	
}
